/**
 * 
 */
package physics;

/**
 * @author Flavio
 *
 */
public class Frame<T extends Transform<T>> {

	private String name;
	public T fromBaseReferenceFrameToThis;
	
	public Frame(String name, T fromBaseReferenceFrameToThis) {
		this.name = name;
		this.fromBaseReferenceFrameToThis = fromBaseReferenceFrameToThis;
	}
	
	public String getName() {
		return this.name;
	}
	
	public Frame<T> getBaseReferenceFrame() {
		return new Frame<>("BASE_REFERENCE_FRAME", fromBaseReferenceFrameToThis.identity());
	}
	
}
